package com.component.mode;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;



public class ReturnMsg {
	
	private String info;
	private JSONArray result = new JSONArray();
	private int state = 0;
	
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public JSONArray getResult() {
		return result;
	}
	public void setResult(JSONArray result) {
		this.result = result;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public void addJSONObject(JSONObject json){
		result.add(json);
	}
}
